#ifndef __PT_HEAP5_H__
#define __PT_HEAP5_H__

#include <stdint.h>
#include <stddef.h>
#include "memory_mang_conf.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _pt_heap_region_t
{
    uint8_t * stat_address;
    size_t size_in_bytes;
} pt_heap_region_t;


void *pt_malloc(size_t size);
void pt_free(void *pv);
size_t pt_get_free_size(void);
size_t pt_get_min_ever_free_heap_size( void );
void pt_heap_region( const pt_heap_region_t * const heap_regions );


#ifdef __cplusplus
} /* extern "C" */
#endif

#endif // __PT_HEAP5_H__